package com.niuniu.order_consumer.mapper;

import com.niuniu.order_consumer.pojo.entity.Bed;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Meng
 * 2022/12/16
 */
@Mapper
public interface BedMapper {
    List<Bed> getAvailableBedList(@Param("roomId") Integer roomId, @Param("cnt") Integer cnt);
    void updateBeds(@Param("bedList") List<Bed> bedList);
}
